﻿<?php

$id=$_GET['id'];
$obj=new mysql($config);
$row=$obj->delete($id,'attr');


if($row>0){
 echo '<script>alert("删除成功");history.go(-1);</script>';
}else{
 echo '<script>alert("删除失败");history.go(-1);</script>';
}